//
//  RJOutModel.h
//  AirQuality
//
//  Created by Po on 15/4/3.
//  Copyright (c) 2015年 Po. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface RJOutModel : NSObject

@property (retain, nonatomic) NSString * currentName;               //当前城市名称
@property (retain, nonatomic) NSString * currentCode;               //当前城市CityCode
@property (retain, nonatomic) NSString * currentPollutant;          //当前城市主要污染物
@property (retain, nonatomic) NSString * currentAQIValue;           //当前城市AQI
@property (retain, nonatomic) NSArray * citys;                      //城市集合
@property (retain, nonatomic) NSDictionary * cityAQIData;           //所以城市实时数据
@property (retain, nonatomic) NSArray * primaryPollutants;          //首要污染物
@property (retain, nonatomic) NSArray * AQIValues;                  //AQI数值

//24Hour Data
@property (retain, nonatomic) NSArray * city24Data;                 //城市24小时数据

//location
@property (retain, nonatomic) NSString * cityName;                  //城市
@property (retain, nonatomic) NSString * sublocality;               //区
@property (assign, nonatomic) BOOL isLocationDown;                  //定位结束
@property (assign, nonatomic) BOOL isNetDown;                       //请求结束
@property (assign, nonatomic) BOOL isGetLocation;                   //定位成功
@property (strong, nonatomic) NSMutableDictionary * city_pullutionDic;
@property (strong, nonatomic) NSMutableDictionary * city_AQIValueDic;
- (void)refresh;
/**更新城市实时数据*/
- (void)updateData;
/**更新定位*/
- (void)updateLocation;
/**更新天气*/
- (void)updateWeatherCityName:(NSString *)cityName;
/**获得所有数据*/
- (void)update24HourWithCityCode:(NSNumber *)cityCode;
/**手动设置城市*/
- (void)setCurrentCityCode:(NSNumber *)cityCode;
/**获取指定类型的24小时值*/
- (NSDictionary *)get24DataWithType:(NSString *)type;
- (NSDictionary *)get365dataWithType:(NSString *)type;
/**获取详细信息*/
- (NSArray *)getCityDetailData;
/**
 *  下方列表数据
 *
 *  @param cityCode 站点code
 */
- (void)getBottomDataWithCityCode:(NSString *)cityCode;
- (void)getStation365DayAQIForApp:(NSString *)cityCode;
@end
